package com.umerclass.ui.anmo.three;

import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.umerclass.R;
import com.umerclass.frame.model.InfoResult;
import com.umerclass.frame.ui.activity.BaseActivity;
import butterknife.BindView;
import butterknife.OnClick;
import de.hdodenhof.circleimageview.CircleImageView;

public class DianJiaActivity extends BaseActivity {

    @BindView(R.id.linear_back)
    LinearLayout linearBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.profile_image)
    CircleImageView profileImage;
    @BindView(R.id.tv_one)
    TextView tvOne;
    @BindView(R.id.tv_two)
    TextView tvTwo;
    @BindView(R.id.tv1)
    TextView tv1;
    @BindView(R.id.linear1)
    LinearLayout linear1;
    @BindView(R.id.tv_money)
    TextView tvMoney;
    @BindView(R.id.linear2)
    LinearLayout linear2;
    @BindView(R.id.linear3)
    LinearLayout linear3;
    @BindView(R.id.btn_exit)
    Button btnExit;

    @Override
    public boolean isImmersionBarEnabled() {
        return false;
    }

    @Override
    public boolean isSupportSwipeBack() {
        return false;
    }

    @Override
    public int getLayoutResId() {
        return R.layout.activity_anmo_dian_jia;
    }

    @Override
    public void init() {

    }

    @Override
    public void loadData() {

    }

    @OnClick({R.id.linear_back,R.id.linear1,R.id.linear2,R.id.linear3,R.id.btn_exit})
    public void OnClick(View view) {
        switch (view.getId()) {
            case R.id.linear_back:
                finish();
                break;
            case R.id.linear1:
                switchTo(DianJiaActivity.this,JiQiSheActivity.class,false);
                break;
            case R.id.linear2:
                switchTo(DianJiaActivity.this,MyYeJiActivity.class,false);
                break;
            //收益提现
            case R.id.linear3:
                break;
            case R.id.btn_exit:
                break;
            default:
                break;
        }
    }

    @Override
    protected void onSuccess(int what, InfoResult t) {

    }

    @Override
    protected void onFail(int what, InfoResult t) {

    }

}
